In older versions of the software, empty cells were forced to numeric 0 in some contexts and to empty string in others, except in direct comparison where =A1=0 and =A1="" both resulted in TRUE if A1 was empty. Emptiness now is inherited until used, so both =VLOOKUP(...)=0 and =VLOOKUP(...)="" give TRUE if the lookup resulted in an empty cell being returned.
古いソフトウェアのバージョンでは、空白のセルに対して、一部のコンテキストでは強制的に数値 0 が設定され、そのほかのコンテキストでは空白文字列が設定されていました。例外的に、A1 が空白の場合、=A1=0 と =A1="" の両方の結果は、TRUE でした。空白は使用されるまで継承されるようになったので、ルックアップの結果として空白のセルが返される場合、=VLOOKUP(...)=0 と =VLOOKUP(...)="" は両方 TRUE を返します。
A simple reference to an empty cell is still displayed as numeric 0 but is not necessarily of type numeric anymore, so also comparisons with the referencing cell work as expected.
空白のセルへの単純な参照は、依然として数値 0 として表示されますが、必ずしも数値型ではないので、参照元のセルとの比較が予想どおりに行われます。
For the following examples, A1 contains a number, B1 is empty, C1 contains the reference to B1:
次の例では、A1 は数値を含み、B1 は空白で、C1 は B1 への参照を含みます。
A1: 1 B1: <empty> C1: =B1 (displays 0)
A1:1 B1:(値なし) C1:=B1 (0 を表示)
=B1=0 => TRUE
=B1=0 => TRUE
=B1="" => TRUE
=B1="" => TRUE
=C1=0 => TRUE
=C1=0 => TRUE
=C1="" => TRUE (previously was FALSE)
=C1="" => TRUE (以前は FALSE)
=ISNUMBER(B1) => FALSE
=ISNUMBER(B1) => FALSE
=ISNUMBER(C1) => FALSE (previously was TRUE)
=ISNUMBER(C1) => FALSE (以前は TRUE)
=ISNUMBER(VLOOKUP(1;A1:C1;2)) => FALSE (B1)
=ISNUMBER(VLOOKUP(1;A1:C1;2)) => FALSE (B1)
=ISNUMBER(VLOOKUP(1;A1:C1;3)) => FALSE (C1, previously was TRUE)
=ISNUMBER(VLOOKUP(1;A1:C1;3)) => FALSE (C1、以前は TRUE)
=ISTEXT(B1) => FALSE
=ISTEXT(B1) => FALSE
=ISTEXT(C1) => FALSE
=ISTEXT(C1) => FALSE
=ISTEXT(VLOOKUP(1;A1:C1;2)) => FALSE (B1, previously was TRUE)
=ISTEXT(VLOOKUP(1;A1:C1;2)) => FALSE (B1、以前は TRUE)
=ISTEXT(VLOOKUP(1;A1:C1;3)) => FALSE (C1)
=ISTEXT(VLOOKUP(1;A1:C1;3)) => FALSE (C1)
=ISBLANK(B1) => TRUE
=ISBLANK(B1) => TRUE
=ISBLANK(C1) => FALSE
=ISBLANK(C1) => FALSE
=ISBLANK(VLOOKUP(1;A1:C1;2)) => TRUE (B1, previously was FALSE)
=ISBLANK(VLOOKUP(1;A1:C1;2)) => TRUE (B1、以前は FALSE)
=ISBLANK(VLOOKUP(1;A1:C1;3)) => FALSE (C1)
=ISBLANK(VLOOKUP(1;A1:C1;3)) => FALSE (C1)
![]() | Note that Microsoft Excel behaves different and always returns a number as the result of a reference to an empty cell or a formula cell with the result of an empty cell. For example:
Microsoft Excel は動作が異なり、空白のセルまたは空白のセルの結果を含む数式セルへの参照の結果を常に数値として返します。たとえば、次のようになります。 |
A1: <empty>
A1: (値なし)
B1: =A1 => displays 0, but is just a reference to an empty cell
B1:=A1 => 0 を表示しますが、空白のセルへの単なる参照です
=ISNUMBER(A1) => FALSE
=ISNUMBER(A1) => FALSE
=ISTEXT(A1) => FALSE
=ISTEXT(A1) => FALSE
=A1=0 => TRUE
=A1=0 => TRUE
=A1="" => TRUE
=A1="" => TRUE
=ISNUMBER(B1) => FALSE (MS-Excel: TRUE)
=ISNUMBER(B1) => FALSE (MS-Excel:TRUE)
=ISTEXT(B1) => FALSE
=ISTEXT(B1) => FALSE
=B1=0 => TRUE
=B1=0 => TRUE
=B1="" => TRUE (MS-Excel: FALSE)
=B1="" => TRUE (MS-Excel:FALSE)
C1: =VLOOKUP(...) with empty cell result => displays empty (MS-Excel: displays 0)
C1: 結果が空白セルの =VLOOKUP(...) => 空白を表示します (MS-Excel: 0 を表示)
=ISNUMBER(VLOOKUP(...)) => FALSE
=ISNUMBER(VLOOKUP(...)) => FALSE
=ISTEXT(VLOOKUP(...)) => FALSE
=ISTEXT(VLOOKUP(...)) => FALSE
=ISNUMBER(C1) => FALSE (MS-Excel: TRUE)
=ISNUMBER(C1) => FALSE (MS-Excel:TRUE)
=ISTEXT(C1) => FALSE
=ISTEXT(C1) => FALSE